package com.smartfactory.sail.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 王巨壁
 * @title: CommonMapper
 * @projectName smart-sail
 * @description: 公共方法
 * @date 2019/8/418:09
 */
@Mapper
public interface CommonMapper {

    List<Map<String,Object>> getListPageByQueryParams(IPage<Map<String,Object>> page, @Param("ew") Wrapper<Map<String,Object>> queryWrapper,@Param("tableName")String tableName);

}
